package com.ybg.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {
        "com.ybg.common.entity",
        "com.ybg.common.mybatis",
        "com.ybg.common.redis",
        "com.ybg.common.web",
        "com.ybg.user"
    })
@MapperScan(basePackages = "com.ybg.user.business.mapper")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
